﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display.DialogUI {
    import flash.display.*;
    import flash.utils.*;

    public class CharacterAdviceDialog extends GenericDialog {

        private var m_acceptTextName:String;

        public function CharacterAdviceDialog(_arg1:String, _arg2:String="", _arg3:int=0, _arg4:Function=null, _arg5:String="", _arg6:String="", _arg7:Boolean=true, _arg8:int=0, _arg9:String="Accept"){
            this.m_acceptTextName = _arg9;
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
            this.m_acceptTextName = _arg9;
        }
        override protected function createAssetDict():Dictionary{
            var _local1:Dictionary = new Dictionary();
            _local1["dialog_bg"] = (new m_comObject.dialog_train_bg() as DisplayObject);
            _local1["character"] = (new m_comObject.dialog_train_conductor() as DisplayObject);
            _local1["divider"] = (new m_comObject.dialog_train_speechDivider() as DisplayObject);
            _local1["horizontalRule"] = (new m_comObject.dialog_train_trainRule() as DisplayObject);
            return (_local1);
        }
        override protected function createDialogView(_arg1:Dictionary):GenericDialogView{
            var _local2:CharacterAdviceDialogView = new CharacterAdviceDialogView(_arg1, m_message, m_dialogTitle, m_type, m_callback, m_icon, m_iconPos, this.m_acceptTextName);
            return (_local2);
        }

    }
}//package Display.DialogUI 
